﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// OBA检测站点
    /// </summary>
    public class VObaSite : BaseVModel
    {
        private string _obaNo;

        ///<Summary>
        /// OBA检测单号
        ///</Summary>
        public string ObaNo
        {
            get { return string.IsNullOrWhiteSpace(_obaNo) ? string.Empty : _obaNo; }
            set { _obaNo = value; }
        }

        ///<Summary>
        /// 过站类型
        ///</Summary>
        public Enum.SiteType SiteType { get; set; }

        ///<Summary>
        /// 过站名称
        ///</Summary>
        public string CNSiteType { get { return !System.Enum.IsDefined(typeof(Enum.SiteType), SiteType) ? string.Empty : EnumConvert.ToDesc(SiteType); } }
    }
}
